void main(){
  int orderState =3;
  //条件时判断相等，则switch  case 语句性能比if 分支语句要好
  switch(orderState){
    case 1:
      print('待付款');
      break;
    case 2:
      print('待发货');
      break;
    case 3:
      print('待收货');
      break;
    case 4:
      print('待评价');
      break;
    default:
      print('其他');
  }
}